gtk4.git
11 years agoGtkScrolledWindow: Take border into account
Matthias Clasen [Fri, 28 Nov 2014 22:20:23 +0000 (17:20 -0500)]
GtkScrolledWindow: Take border into account

Use the new scrollable API for getting non-scrollable borders
and draw over/undershoot at the right place. In practice, this
means that they now appear below treeview headers.

11 years agoGtkTreeView: Implement get_border
Matthias Clasen [Wed, 10 Dec 2014 11:48:56 +0000 (06:48 -0500)]
GtkTreeView: Implement get_border

Add an implementation for the new scrollable vfunc that returns
the header height as top border.

11 years agoAdd a gtk_scrollable_get_border
Matthias Clasen [Wed, 10 Dec 2014 11:45:21 +0000 (06:45 -0500)]
Add a gtk_scrollable_get_border

Add a vfunc to return a non-scrollable border around scrollables.
This would be nicer as a property, but we can't add properties
to an interface without breaking 3rd party implementations, so
make this an optional vfunc, and handle it not being set.

11 years agoAdwaita: Initial theming for scrollable indication
Matthias Clasen [Wed, 10 Dec 2014 15:00:45 +0000 (10:00 -0500)]
Adwaita: Initial theming for scrollable indication

This just uses a narrow shadow for now.

11 years agoAdd a scrollable indication
Matthias Clasen [Wed, 10 Dec 2014 15:00:21 +0000 (10:00 -0500)]
Add a scrollable indication

Draw a themable indication when an edge of a scrolled window
is hiding some content that can be scrolled in.

11 years agoTrivial formatting fix
Matthias Clasen [Wed, 10 Dec 2014 04:41:28 +0000 (23:41 -0500)]
Trivial formatting fix

&& goes at the end of the line in GTK+ coding style.

11 years agoGtkMenuPositionFunc: Correct annotations
Matthias Clasen [Wed, 10 Dec 2014 03:56:19 +0000 (22:56 -0500)]
GtkMenuPositionFunc: Correct annotations

x and y are inout, not just out.

https://bugzilla.gnome.org/show_bug.cgi?id=674537

11 years agostyleprovider: Fold get_change() vfunc into lookup()
Benjamin Otte [Tue, 9 Dec 2014 18:31:17 +0000 (19:31 +0100)]
styleprovider: Fold get_change() vfunc into lookup()

11 years agocssselector: Rewrite change computation
Benjamin Otte [Tue, 9 Dec 2014 04:26:52 +0000 (05:26 +0100)]
cssselector: Rewrite change computation

We know that non-simple selectors cause a transition to the all matcher,
so just assume the all matcher from that point on.

11 years agocssselector: Redo change verification
Benjamin Otte [Tue, 9 Dec 2014 02:21:13 +0000 (03:21 +0100)]
cssselector: Redo change verification

Instead of walking the selector tree, we walk the selectors.

11 years agocssselector: Implement tree_match() using foreach_matcher()
Benjamin Otte [Tue, 9 Dec 2014 01:59:14 +0000 (02:59 +0100)]
cssselector: Implement tree_match() using foreach_matcher()

11 years agocssselector: Introduce a foreach_matcher vfunc
Benjamin Otte [Mon, 8 Dec 2014 23:35:55 +0000 (00:35 +0100)]
cssselector: Introduce a foreach_matcher vfunc

This vfunc iterates over all matchers of a selector and allows to write
functions like the match function in a generic way using foreach.

11 years agocssselector: Add a match_one vfunc
Benjamin Otte [Mon, 8 Dec 2014 17:48:24 +0000 (18:48 +0100)]
cssselector: Add a match_one vfunc

It allows a default implementation of the match() and tree_match()
functions.

11 years agocssselector: Introduce a few more default functions
Benjamin Otte [Mon, 8 Dec 2014 05:56:26 +0000 (06:56 +0100)]
cssselector: Introduce a few more default functions

11 years agocssselector: Make specificity handling a vfunc
Benjamin Otte [Mon, 8 Dec 2014 05:46:38 +0000 (06:46 +0100)]
cssselector: Make specificity handling a vfunc

The new region selector tracks more than just one soimple selector, so
it requires some more advanced specificity tracking.

Technically, this is still not correct, because it will report the same
specificity for
  tab:sorted
and
  tab:sorted:sorted
(and the second selector will be printed as the first) but this is
regions, so meh.

11 years agocssselector: Remove unused variable
Benjamin Otte [Mon, 8 Dec 2014 05:22:33 +0000 (06:22 +0100)]
cssselector: Remove unused variable

The variable is FALSE for every class now.

11 years agocssselector: Handle region selector like any selector
Benjamin Otte [Mon, 8 Dec 2014 05:17:56 +0000 (06:17 +0100)]
cssselector: Handle region selector like any selector

Instead of doing the previous match magic itself, use the
DESCENDANT_FOR_REGION hack and let that one do the magic.

11 years agocssselector: Use simple class macro for * selector
Benjamin Otte [Mon, 8 Dec 2014 05:08:30 +0000 (06:08 +0100)]
cssselector: Use simple class macro for * selector

As a side effect, the :not(*) selector needs to be renamed because the
macro chooses a different name for it.

11 years agocssselector: Introduce descendant matcher for regions
Benjamin Otte [Mon, 8 Dec 2014 04:55:36 +0000 (05:55 +0100)]
cssselector: Introduce descendant matcher for regions

This is just a way to handle regions more conveniently. What this does
is to change the descendant matcher into a maybe-descendant matcher
whenever the current object we're parsing might be a region. Because "*"
might also refer to a region and not just a new element.

See testsuite/reftests/css-match-region-matches-star.ui for a testcase.

11 years agocssselector: Support :not() for position pseudoclasses
Benjamin Otte [Mon, 8 Dec 2014 04:42:11 +0000 (05:42 +0100)]
cssselector: Support :not() for position pseudoclasses

This is simple now that the latest commit used the macro and
autogenerates the SelectorClass to use.

11 years agocssselector: Use simple macro for position pseudoclass
Benjamin Otte [Mon, 8 Dec 2014 04:39:01 +0000 (05:39 +0100)]
cssselector: Use simple macro for position pseudoclass

This is possible now that the region-specific code is gone.

11 years agocssselector: Handle region flags during parse
Benjamin Otte [Mon, 8 Dec 2014 02:06:21 +0000 (03:06 +0100)]
cssselector: Handle region flags during parse

When parsing a selector like
  tab:active
We used to create 2 selector objects, one for the region, and one for
the pseudoclass. Now, for convenience, we special-case region
pseudoclass parsing so that the active flag is added to the region
selector.

A side effect is that ":nth-child(1)" no longer works for regions.
Hopefully people didn't use this but used the saner ":first-child"
instead.

11 years agocssselector: Turn into a union
Benjamin Otte [Sat, 6 Dec 2014 13:01:02 +0000 (14:01 +0100)]
cssselector: Turn into a union

Instead of just keeping a gpointer data, make GtkCssSelector a union
that has actual proper members.

11 years agocssselector: Introduce a hash func per selector
Benjamin Otte [Sat, 6 Dec 2014 00:00:10 +0000 (01:00 +0100)]
cssselector: Introduce a hash func per selector

This is unnecessary itself, but useful in preparation for further
commits.

11 years agocssselector: Inline a function
Benjamin Otte [Thu, 4 Dec 2014 02:42:50 +0000 (03:42 +0100)]
cssselector: Inline a function

11 years agoGtkStackSwitcher: Don't take focus on click
Matthias Clasen [Wed, 10 Dec 2014 01:36:03 +0000 (20:36 -0500)]
GtkStackSwitcher: Don't take focus on click

Moving the focus to the stack switcher buttons is
never what is wanted here.

11 years agoinspector: Don't force-switch to the objects tab
Matthias Clasen [Tue, 9 Dec 2014 23:27:57 +0000 (18:27 -0500)]
inspector: Don't force-switch to the objects tab

We used to switch to the objects tab when an object is
picked, but now may have two places with picker buttons:
the objects tab and the interactive tab.

So, just don't do that anymore.

11 years agoinspector: Allow extensions to request a picker
Matthias Clasen [Tue, 9 Dec 2014 23:22:12 +0000 (18:22 -0500)]
inspector: Allow extensions to request a picker

Look for a 'use-picker' property on the extension page
and add a picker button to the header bar if says so.

11 years agoinspector: Another indentation fix
Matthias Clasen [Tue, 9 Dec 2014 23:17:01 +0000 (18:17 -0500)]
inspector: Another indentation fix

11 years agoinspector: Reindent ui file
Matthias Clasen [Tue, 9 Dec 2014 22:49:23 +0000 (17:49 -0500)]
inspector: Reindent ui file

11 years agoMake gtk_tree_model_foreach robust
Matthias Clasen [Tue, 9 Dec 2014 05:41:11 +0000 (00:41 -0500)]
Make gtk_tree_model_foreach robust

Make gtk_tree_model_foreach safe for callbacks that modify
the model, even if the model does not have persistent iters.

https://bugzilla.gnome.org/show_bug.cgi?id=722781

11 years agoDon't compare booleans
Matthias Clasen [Tue, 9 Dec 2014 05:22:56 +0000 (00:22 -0500)]
Don't compare booleans

Just use negation.

11 years agowindow: fallback to window muxer if no widget has focus
Christian Hergert [Tue, 9 Dec 2014 04:19:23 +0000 (20:19 -0800)]
window: fallback to window muxer if no widget has focus

This ensures that we can still match accelerators for the window even
if no widget currently has focus.

11 years agogtkwindow: Use actions from focused widget to activate accel
Carlos Soriano [Wed, 3 Dec 2014 14:53:59 +0000 (15:53 +0100)]
gtkwindow: Use actions from focused widget to activate accel

Currently we only take into account the window GActionGroup for
activating the accels.

However, the application could have some custom GActionGroup in the
chain of focused widgets that could want to activate some action if
some accel is activated while that widget is focused.

To allow applications to set accels on widgets that use custom
GActionGroups, simply use the muxer of the focused widget, which
already contains the actions of the parents.

https://bugzilla.gnome.org/show_bug.cgi?id=740682

11 years agoFix another header guard oversight
Matthias Clasen [Tue, 9 Dec 2014 00:34:23 +0000 (19:34 -0500)]
Fix another header guard oversight

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741252

11 years agoFix some oversights with header guards
Matthias Clasen [Tue, 9 Dec 2014 00:31:56 +0000 (19:31 -0500)]
Fix some oversights with header guards

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741254

11 years agoInspector: Support extending the inspector using GIOModules
Alexander Larsson [Mon, 1 Dec 2014 14:37:05 +0000 (15:37 +0100)]
Inspector: Support extending the inspector using GIOModules

This allows external modules to add a page to the Gtk Inspector.

https://bugzilla.gnome.org/show_bug.cgi?id=740983

11 years agoTrivial off-by-one fix
Matthias Clasen [Mon, 8 Dec 2014 20:39:15 +0000 (15:39 -0500)]
Trivial off-by-one fix

We have a tenth example.

11 years agoDrop a few unneeded ifs
Matthias Clasen [Mon, 8 Dec 2014 20:38:41 +0000 (15:38 -0500)]
Drop a few unneeded ifs

It does not hurt to pass NULL to g_list_free().

11 years agoUpdated Turkish translation
Muhammet Kara [Mon, 8 Dec 2014 19:38:02 +0000 (19:38 +0000)]
Updated Turkish translation

11 years agoUpdated Turkish translation
Muhammet Kara [Mon, 8 Dec 2014 19:20:34 +0000 (19:20 +0000)]
Updated Turkish translation

11 years agoGtkWidget: Don't return FALSE as a pointer
Matthias Clasen [Mon, 8 Dec 2014 14:16:24 +0000 (09:16 -0500)]
GtkWidget: Don't return FALSE as a pointer

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741251

11 years agoGtkPlacesSidebar: Don't return FALSE as a pointer
Matthias Clasen [Mon, 8 Dec 2014 14:15:07 +0000 (09:15 -0500)]
GtkPlacesSidebar: Don't return FALSE as a pointer

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741250

11 years agoGtkMenuTracker: Don't return FALSE as a pointer
Matthias Clasen [Mon, 8 Dec 2014 14:13:57 +0000 (09:13 -0500)]
GtkMenuTracker: Don't return FALSE as a pointer

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741249

11 years agoGtkEntry: Refresh when activity ends
Matthias Clasen [Mon, 8 Dec 2014 11:39:19 +0000 (06:39 -0500)]
GtkEntry: Refresh when activity ends

We need to queue a redraw when pulse mode is ended by
setting a fraction. Noticed in gtk3-demo's search entry demo.

11 years agodocs: Explain 'icon theme context' better in gtkicontheme.c
Kjell Ahlstedt [Fri, 11 Apr 2014 16:52:39 +0000 (18:52 +0200)]
docs: Explain 'icon theme context' better in gtkicontheme.c

Add links from gtk_icon_theme_list_contexts() to
gtk_icon_theme_list_icons(), and from there to the Icon Theme
Specification and the Icon Naming Specification.

https://bugzilla.gnome.org/show_bug.cgi?id=461249

11 years agoHandle KP keys in copy/paste keybindings
Matthias Clasen [Mon, 8 Dec 2014 04:28:52 +0000 (23:28 -0500)]
Handle KP keys in copy/paste keybindings

We currently handle KP variants of some keys, but not consistenly.

https://bugzilla.gnome.org/show_bug.cgi?id=364566

11 years agoEditable cells demo: Add new row at cursor
Phillip Wood [Sun, 22 Dec 2013 18:17:32 +0000 (18:17 +0000)]
Editable cells demo: Add new row at cursor

Adding rows to the bottom of the list is confusing as you cannot see
them if the window is small so it is not apparent that anything has
happened. Fix this by adding the new row immediately below the current
row and set the cursor on the new row so it is ready to be edited.

https://bugzilla.gnome.org/show_bug.cgi?id=721939

11 years agoAdd a note to the ::destroy docs
Matthias Clasen [Sun, 7 Dec 2014 23:12:46 +0000 (18:12 -0500)]
Add a note to the ::destroy docs

Clarify that ::destroy is not suitable for saving widget state.

https://bugzilla.gnome.org/show_bug.cgi?id=710793

11 years agoUpdated Vietnamese translation
Trần Ngọc Quân [Sun, 7 Dec 2014 08:06:11 +0000 (15:06 +0700)]
Updated Vietnamese translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
11 years agoexamples: Fix clean rule in stand alone Makefiles
Emmanuele Bassi [Sat, 6 Dec 2014 13:30:24 +0000 (13:30 +0000)]
examples: Fix clean rule in stand alone Makefiles

Remove all the built files, including the exampleapp binary.

11 years agoexamples: Add stand alone Makefile for application10
Emmanuele Bassi [Sat, 6 Dec 2014 13:25:01 +0000 (13:25 +0000)]
examples: Add stand alone Makefile for application10

Missed out on the last application examples.

11 years agoGtkEntry: Added gtk_entry_grab_focus_without_selection()
Ankita Patil [Thu, 6 Nov 2014 12:16:02 +0000 (17:46 +0530)]
GtkEntry: Added gtk_entry_grab_focus_without_selection()

Providing a way to focus an entry without selecting its contents.

https://bugzilla.gnome.org/show_bug.cgi?id=735838

11 years agoGtkTextTag: Add two missing property set cases
Matthias Clasen [Sat, 6 Dec 2014 02:24:43 +0000 (21:24 -0500)]
GtkTextTag: Add two missing property set cases

These were overlooked when adding ::fallback and ::letter-spacing
recently.

11 years agoUpdate docs
Matthias Clasen [Sat, 6 Dec 2014 01:05:46 +0000 (20:05 -0500)]
Update docs

Document new fields in GtkTextAttributes, remove redundant comments.

11 years agoMinor documentation fixes
Matthias Clasen [Sat, 6 Dec 2014 00:58:23 +0000 (19:58 -0500)]
Minor documentation fixes

11 years agoRaleigh: Fix css for active notebook tabs
Matthias Clasen [Sat, 6 Dec 2014 00:29:39 +0000 (19:29 -0500)]
Raleigh: Fix css for active notebook tabs

This was not kept up-to-date when we changed notebootk
tab rendering.

https://bugzilla.gnome.org/show_bug.cgi?id=741185

11 years agogtkscale: Draw smaller marks
Carlos Soriano [Thu, 4 Dec 2014 15:21:46 +0000 (16:21 +0100)]
gtkscale: Draw smaller marks

As a design request, use smaller marks.

https://bugzilla.gnome.org/show_bug.cgi?id=741117

11 years agowidget-factory: Add a discontinuous GtkScale with marks
Carlos Soriano [Fri, 5 Dec 2014 10:09:56 +0000 (11:09 +0100)]
widget-factory: Add a discontinuous GtkScale with marks

So designers can tweak the marks and developers can see how a
discontinuos scale is implemented.

https://bugzilla.gnome.org/show_bug.cgi?id=741117

11 years agoAdd epoxy to GTK_PRIVATE_PACKAGES
Matthias Clasen [Fri, 5 Dec 2014 04:28:33 +0000 (23:28 -0500)]
Add epoxy to GTK_PRIVATE_PACKAGES

We are using epoxy api in GtkGLArea, so we need to link against it.

https://bugzilla.gnome.org/show_bug.cgi?id=740162

11 years agoplaces sidebar: Fix the sort function
Matthias Clasen [Fri, 5 Dec 2014 03:26:14 +0000 (22:26 -0500)]
places sidebar: Fix the sort function

When returning 1 for a pair (a,b), a sort function must
return -1 for the pair (b,a), otherwise things can go
badly.

https://bugzilla.gnome.org/show_bug.cgi?id=739729

11 years agofile-chooser: Don't wait for ENTER to initiate search
Debarshi Ray [Tue, 11 Nov 2014 18:02:22 +0000 (19:02 +0100)]
file-chooser: Don't wait for ENTER to initiate search

Most of the core GNOME applications (eg., gnome-control-center,
gnome-documents, and nautilus) start searching as soon as the text
changes, and don't wait for the user to hit ENTER. It would be nice to
follow the same pattern.

https://bugzilla.gnome.org/show_bug.cgi?id=739977

11 years agoAllow inserting Pango markup in text buffers
Matthias Clasen [Thu, 4 Dec 2014 05:08:30 +0000 (00:08 -0500)]
Allow inserting Pango markup in text buffers

This has been a very long-standing feature request.

https://bugzilla.gnome.org/show_bug.cgi?id=59390

11 years agoGtkTextView: Add fallback and letter-spacing support
Matthias Clasen [Thu, 4 Dec 2014 04:13:13 +0000 (23:13 -0500)]
GtkTextView: Add fallback and letter-spacing support

Add support for the Pango attributes controlling font fallback
and letter spacing to GtkTextTag.

https://bugzilla.gnome.org/show_bug.cgi?id=740954

11 years agoUpdated POTFILES.skip
Piotr Drąg [Wed, 3 Dec 2014 14:31:23 +0000 (15:31 +0100)]
Updated POTFILES.skip

11 years agoHC: use child istead of descendant selectors for linking
Jakub Steiner [Wed, 3 Dec 2014 10:42:06 +0000 (11:42 +0100)]
HC: use child istead of descendant selectors for linking

Since widgets subelements are now both widget childs and widget
classes, say .spinbutton.button and .spinbutton .button,
the linking logic needs to be adapted to be stricter with
child selectors. This fixes vertically linked spinbuttons.

11 years agoHC: sidebars and vertical toolbars with borders
Jakub Steiner [Tue, 2 Dec 2014 14:00:30 +0000 (15:00 +0100)]
HC: sidebars and vertical toolbars with borders

- the assumption for vertical toolbar being on the left is perhaps
  a little daring, but...

https://bugzilla.gnome.org/show_bug.cgi?id=740859

11 years agoAdwaita: use child istead of descendant selectors for linking
Lapo Calamandrei [Wed, 3 Dec 2014 10:29:12 +0000 (11:29 +0100)]
Adwaita: use child istead of descendant selectors for linking

Since widgets subelements are now both widget childs and widget
classes, say .spinbutton.button and .spinbutton .button, the linking
logic needs to be adapted to be stricter with child selectors.
This fixes vertically linked spinbuttons.

11 years agotest/gtkgears.c: Fix Builds on Systems Without M_PI
Chun-wei Fan [Tue, 2 Dec 2014 07:57:17 +0000 (15:57 +0800)]
test/gtkgears.c: Fix Builds on Systems Without M_PI

Use G_PI in place of M_PI to fix the build on compilers that do not have
M_PI defined.

https://bugzilla.gnome.org/show_bug.cgi?id=740795

11 years agoAdd separator
Trinh Anh Ngoc [Tue, 2 Dec 2014 15:09:21 +0000 (22:09 +0700)]
Add separator

https://bugzilla.gnome.org/show_bug.cgi?id=741027

11 years agoRemove icon view window shadow
Trinh Anh Ngoc [Tue, 2 Dec 2014 14:27:23 +0000 (21:27 +0700)]
Remove icon view window shadow

https://bugzilla.gnome.org/show_bug.cgi?id=741027

11 years agoReshuffle some docs
Matthias Clasen [Wed, 3 Dec 2014 01:06:33 +0000 (20:06 -0500)]
Reshuffle some docs

11 years agoUse resources for icons
Matthias Clasen [Wed, 3 Dec 2014 00:54:33 +0000 (19:54 -0500)]
Use resources for icons

This fixes icons after the recent directory reshuffling, and
is just the right thing to do, since these icons are in resources
anyway.

11 years agoImprove action-namespace example
Matthias Clasen [Wed, 3 Dec 2014 00:13:24 +0000 (19:13 -0500)]
Improve action-namespace example

This needs to have some space around the button for the popover
to show up.

11 years agodocs: Mention the standalone Makefile for examples
Emmanuele Bassi [Tue, 2 Dec 2014 19:27:52 +0000 (19:27 +0000)]
docs: Mention the standalone Makefile for examples

And point to the README file.

https://bugzilla.gnome.org/show_bug.cgi?id=741041

11 years agodocs: Add a README to the examples directory
Emmanuele Bassi [Tue, 2 Dec 2014 19:21:18 +0000 (19:21 +0000)]
docs: Add a README to the examples directory

https://bugzilla.gnome.org/show_bug.cgi?id=741041

11 years agoAdd standalone Makefile for the examples
Emmanuele Bassi [Tue, 2 Dec 2014 19:15:03 +0000 (19:15 +0000)]
Add standalone Makefile for the examples

We want to allow people to build the examples easily, without
necessarily requiring them to build the whole of GTK+.

https://bugzilla.gnome.org/show_bug.cgi?id=741041

11 years agopopover: make smarter wrt previous focus widget lifetime
Carlos Garnacho [Tue, 2 Dec 2014 14:44:04 +0000 (15:44 +0100)]
popover: make smarter wrt previous focus widget lifetime

If the previous focus widget is unmapped (eg. hidden, scheduled for
destruction, etc), make the popover forget about it and grant focus
back to the window itself.

11 years agogdkgl: pass the correct number of quads to gdk_gl_texture_quads
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 13:59:47 +0000 (14:59 +0100)]
gdkgl: pass the correct number of quads to gdk_gl_texture_quads

And call it only if that's the case

11 years agocss: Avoid excessive shadow rendering
Matthias Clasen [Tue, 2 Dec 2014 13:29:24 +0000 (08:29 -0500)]
css: Avoid excessive shadow rendering

The shadow rendering code had code to exit early if we determine
that the shadow is entirely clipped away. Unfortunately, the check
based on cairo clip extents fails for any clip regions that are
more complicated than axis-aligned rectangles, and we are using
a hollow rounded rectangle here. So, instead, do the check manually,
using the just-introduced API in GtkRoundedBox.

11 years agoAdd clipping apis to GtkRoundedBox
Matthias Clasen [Tue, 2 Dec 2014 13:26:36 +0000 (08:26 -0500)]
Add clipping apis to GtkRoundedBox

This adds two functions for checking whether an axis-aligned
rectangle is completely outside or inside of a rounded box.
These are not trying to be exact, but fast.

11 years agogtkwidget: Fix a typo preventing the CSD input shape from applying
Jasper St. Pierre [Tue, 2 Dec 2014 02:01:18 +0000 (18:01 -0800)]
gtkwidget: Fix a typo preventing the CSD input shape from applying

We were setting "csd-shade" but reading from "csd-region".

11 years agoVisual Studio Build: Update GTK DLL Build Flags
Chun-wei Fan [Tue, 2 Dec 2014 01:26:35 +0000 (09:26 +0800)]
Visual Studio Build: Update GTK DLL Build Flags

As the print preview command is moved into the sources, don't define it in
the preprocessor definitions.  However, define the
GTK_PRINT_BACKEND_ENABLE_UNSUPPORTED in the preprocessor definitions, to
make the build in-line with the autotools builds.

11 years agoGtkPlacesSidebar: Fix Home and Desktop on Windows.
Matias De Lellis [Mon, 1 Dec 2014 20:56:05 +0000 (14:56 -0600)]
GtkPlacesSidebar: Fix Home and Desktop on Windows.

We were concatenating "file://" to the result of g_get_user_special_dir() to build
a URI, but this is not enough on Windows.  Use g_filename_to_uri() instead.

See https://bugzilla.gnome.org/show_bug.cgi?id=739453

11 years agoHC: clean up borders for buttons & entries
Jakub Steiner [Mon, 1 Dec 2014 18:06:02 +0000 (19:06 +0100)]
HC: clean up borders for buttons & entries

https://bugzilla.gnome.org/show_bug.cgi?id=740860

11 years agoHC: vertical linked buttons,entries & combos
Jakub Steiner [Mon, 1 Dec 2014 16:45:26 +0000 (17:45 +0100)]
HC: vertical linked buttons,entries & combos

https://bugzilla.gnome.org/show_bug.cgi?id=740860

11 years agoHC: wide separator styling
Jakub Steiner [Mon, 1 Dec 2014 16:26:11 +0000 (17:26 +0100)]
HC: wide separator styling

https://bugzilla.gnome.org/show_bug.cgi?id=740862

11 years ago HC theme: more contrasty separators
Jakub Steiner [Mon, 1 Dec 2014 14:39:19 +0000 (15:39 +0100)]
 HC theme: more contrasty separators

 https://bugzilla.gnome.org/show_bug.cgi?id=740863

11 years agoHC theme: implement scroll overshoot
Jakub Steiner [Mon, 1 Dec 2014 11:33:23 +0000 (12:33 +0100)]
HC theme: implement scroll overshoot

https://bugzilla.gnome.org/show_bug.cgi?id=740876

11 years agoDrop remaining traces of GTK_UPDATE_ICON_CACHE build variable
Rui Matos [Mon, 1 Dec 2014 17:24:27 +0000 (18:24 +0100)]
Drop remaining traces of GTK_UPDATE_ICON_CACHE build variable

Commit 655c75cab791ea965e705e1b8518e6008d3a755f removed the need for
this variable but left a couple of uses in. Drop them.

11 years agomir: don't initialize the display if the required pixel formats aren't available
Marco Trevisan (Treviño) [Mon, 1 Dec 2014 17:05:30 +0000 (18:05 +0100)]
mir: don't initialize the display if the required pixel formats aren't available

11 years agoUpdate release notes
Matthias Clasen [Mon, 1 Dec 2014 15:03:33 +0000 (10:03 -0500)]
Update release notes

Mention that --enable-gtk2-dependency is gone.

11 years agoinspector: Properly update flashing hilight
Benjamin Otte [Mon, 1 Dec 2014 14:38:26 +0000 (15:38 +0100)]
inspector: Properly update flashing hilight

Previously, the inspector would not change the hilight while the
previous hilight was still flashing.
This is inconvenient while arrowing through the object selection
treeview though where you want the currently selected row to hilight
when arrowing quickly.

11 years agoprinting: Don't crop dimensions of layout preview
Marek Kasik [Fri, 28 Nov 2014 14:25:42 +0000 (15:25 +0100)]
printing: Don't crop dimensions of layout preview

Enlarge area for drawing of layout preview in the print dialog
so that it can embody landscape preview with dimensions.

https://bugzilla.gnome.org/show_bug.cgi?id=730232

11 years agoAdwaita: scss cosmetic fixes
Lapo Calamandrei [Mon, 1 Dec 2014 09:14:47 +0000 (10:14 +0100)]
Adwaita: scss cosmetic fixes

11 years agoAdwaita: GtkTreeView tree lines fix
Lapo Calamandrei [Mon, 1 Dec 2014 09:05:42 +0000 (10:05 +0100)]
Adwaita: GtkTreeView tree lines fix

See https://bugzilla.gnome.org/show_bug.cgi?id=740904 for details.

11 years agoMove print preview command to gtksettings.c
Matthias Clasen [Mon, 1 Dec 2014 04:43:07 +0000 (23:43 -0500)]
Move print preview command to gtksettings.c

Having this in the source seems more appropriate.

11 years agoMove print backend list to configure.ac
Matthias Clasen [Mon, 1 Dec 2014 04:23:31 +0000 (23:23 -0500)]
Move print backend list to configure.ac

We already juggle the print backends here, might as well
produce the list.

11 years agoRearrange Makefile some more
Matthias Clasen [Mon, 1 Dec 2014 04:01:13 +0000 (23:01 -0500)]
Rearrange Makefile some more

Move the introspection parts all together, drop several unused
variables and targets.

11 years agoDrop a few more leftovers
Matthias Clasen [Mon, 1 Dec 2014 03:16:42 +0000 (22:16 -0500)]
Drop a few more leftovers

The GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED define is not used anymore,
and we don't install a gtk.css file for Raleigh, so no need to
uninstall one either.